<div class="row">
<div class="col-md-4 col-md-offset-4">
    <div class="login-panel panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">Please Sign In</h3>
        </div>
        <div class="panel-body">
    <?php echo $this->partial( 'forms/user-login-form.phtml', array('form' => $form)); ?>
</div>
    </div>
</div>
</div>
<script>
var login=function(){
    document.getElementById('admin_login').submit();
}

</script>